package com.mc.code.sysService.Impl;

import com.mc.code.entity.sys.SysMenu;
import com.mc.code.mapper.SysMenuMapper;
import com.mc.code.sysService.SysMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysMenuServiceImpl implements SysMenuService {
    @Autowired
    private SysMenuMapper sysMenuMapper;
    @Override
    public List<SysMenu> findMenuByAdminNo(String adminName) {
        return sysMenuMapper.findMenuByAdminNo(adminName);
    }
}
